package com.example.dicos.service.impl;

import com.example.dicos.entity.WxPermission;
import com.example.dicos.mapper.WxPermissionMapper;
import com.example.dicos.service.WxPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.NoUniqueBeanDefinitionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 后台用户权限表 服务实现类
 * </p>
 *
 * @author 开发者
 * @since 2022-07-11
 */
@Service
public class WxPermissionServiceImpl  implements WxPermissionService {

    @Autowired
    private WxPermissionMapper wxPermissionMapper;
    @Override
    public List<WxPermission> queryWxPermissionList() {
        return wxPermissionMapper.selectList(null);
    }
}
